package com.sjft.cloud.commons.support.datamodel.core.prop;

import com.sjft.cloud.commons.support.datamodel.core.rule.ImgUploadRule;
import com.sjft.cloud.commons.support.datamodel.core.value.ImgUploadValue;
import com.sjft.cloud.commons.support.datamodel.enums.ModelFieldTypeEnum;
import com.sjft.cloud.commons.support.datamodel.enums.MysqlColumnTypeEnum;
import com.sjft.cloud.commons.support.datamodel.core.ModelFieldProp;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ImgUploadProp implements ModelFieldProp<ImgUploadRule, ImgUploadValue> {
    private String name = ModelFieldTypeEnum.IMG_UPLOAD_NAME;
    private String columnType = MysqlColumnTypeEnum.VARCHAR.getCode();
    private Integer length = 256;
    private Boolean autoIncrement = false;
    private String defaultValue = "";
    private Boolean notNull = false;
    private Boolean primaryKey = false;

    private ImgUploadRule rule = new ImgUploadRule();
    private ImgUploadValue value = new ImgUploadValue();
}
